import request from "@/utils/request"

// 获取首页资讯数据
export const reqMessageInfo = () => request.get<any,any>('/message')

// 获取全部数据
export const reqAllMessageInfo = (pageNo:number,pageSize:number) => request.get<any,any>(`/message/info?pageNo=${pageNo}&pageSize=${pageSize}`)

// 根据id获取数据
export const reqMessageInfoById = (id:any) => request.get<any,any>(`/message/${id}`)